package com.huatai.auth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @program: ht-system
 * @description: 主启动文件
 * @author: songxiude
 * @create: 2023-01-31 09:35
 **/
@SpringBootApplication(scanBasePackages="com.huatai")
@EnableFeignClients(basePackages = "com.huatai")
@ComponentScan(basePackages = {"com.huatai"})
@MapperScan("com.huatai.auth.mapper")
@EnableAsync
public class AuthApplication {
    public static void main(String[] args) {
        SpringApplication.run(AuthApplication.class,args);
    }
}
